<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes() ?>>
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php wp_title('|', true, 'right'); ?> <?php bloginfo('name'); ?></title>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?> <!-- enables nested comments in WP 2.7 -->
<?php wp_head(); //leave for plugins ?>
</head>
<body>
<?php
/* This code retrieves all our admin options. */
global $options;
foreach ($options as $value) {
	if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
}
?>
	<div id="header" class="clearfloat">
		<div class="inner">
			<h1 class="logo"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
			<ul><?php wp_list_pages('depth=1&title_li='); ?></ul>
		</div>
	</div><!--end #headbar-->
	<div id="wallbar" class="clearfloat">
		<div class="inner">
			<div class="left-column rss">
				<a  href="<?php if ($imagine_rss_url) echo $imagine_rss_url; ?>">RSS</a>
			</div>
			<div class="right-column about">
				<?php if ($imagine_about) { ?>
		<p><?php if ($imagine_efg && $imagine_gravatar == "true")  echo get_avatar($imagine_efg,'48'); ?>
		<?php echo stripslashes($imagine_about); ?></p>
		<?php } else { ?>
		<p><?php _e('Enter Some Text to display as about description. go to ','paranimage'); ?><a href="<?php echo get_option('home'); ?>/wp-admin/themes.php?page=functions.php"><?php _e('Theme Options Page','paranimage'); ?></a></p>
		<?php } ?>
			</div>
		</div>
	</div><!--end #wallbar-->
	<div id="toolbar" class="clearfloat">
		<div class="inner">
			<div id="nhpnavi" class="clearfloat left-column">
				<?php par_nextprev(); ?>
			</div>
			<div id="breadcrumb" class="center-column">
			</div>
			<div id="search" class="right-column">
				<?php get_search_form(); ?>
			</div>	
		</div>
	</div><!--  end #toolbar -->
	<div id="navibar" class="clearfloat">
		<div class="inner">
			<div id="bookmarker" class="left-column">
				<?php _e('欢迎来到','paranimage'); ?><?php bloginfo('name'); ?>！
			</div>
			<div class="breadcrumb center-column">
				<?php if(function_exists('bcn_display')) { bcn_display();} ?>
			</div>
			<div id="subscriber" class="right-column">
				<ul>
					<li class="rss"><a href="<?php if ($imagine_rss_url) echo $imagine_rss_url; ?>">RSS</a></li>
					<li class="email"><a href="<?php if ($imagine_emailrss_url) echo $imagine_emailrss_url; ?>">Email</a></li>
					<li class="mobile"><a href="<?php if ($imagine_wap_url) echo $imagine_wap_url; ?>">Moblie</a></li>
					<li class="twitter"><a href="<?php if ($imagine_twitter_url) echo $imagine_twitter_url; ?>">Twitter</a></li>
				</ul>
			</div>
		</div>
	</div><!--end #navibar-->
